<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
	<head>
		<jsp:include page="../inc.jsp"></jsp:include>
		<meta http-equiv="X-UA-Compatible" content="edge" />
		<title>订单管理-合同订单-查看日志</title>
		<style type="text/css">
		 .blue_btn{
            border: none;
            border-radius: 5px;
            background-color: #3989c8;
            padding: 5px 20px;
            color:#fff;
        }
        .mynewBtn{
		display: block;
		width:60px;
		height:20px;
		background: #3989c8;
		margin-left:18px;
		margin-top:3px;
		float: left;
		color: #FFFFFF;
		border:1px solid #3989c8;
		-moz-border-radius: 3px;      /* Gecko browsers */
	    -webkit-border-radius: 3px;   /* Webkit browsers */
	    border-radius:3px;
	    cursor:pointer;
	}
        .beizhu{
        	color:#fff;
        	border-radius: 5px;
            background-color: #3989c8;
        	width:80px;
        	padding:5px 10px;
        	font-size:14px;
        	text-align:center;
        	margin-top:5px;
        	
        }
        .beizhu:hover{
        cursor: pointer;
        }
        #toolbar{
           	height:70px;
          
            margin-top: 5px;
            overflow:hidden;
        }
        .list{
            clear: both;
            width: 100%;
            list-style: none;
            padding-left:0px;
        }
        .list li{
            float: left;
            margin-right: 10px;
        }
        .textbox{
            height: 20px;
            margin: 0;
            padding: 0 2px;
            box-sizing: content-box;
            border: 1px solid #95B8E7;
            vertical-align: middle;
			border-radius:3px;
        }
        #tb{
       	padding-left:10px;
      
        }
   		#tb table{
   			border:1px solid #dbdbdb;
   			border-collapse:collapse;
   		}
   		#tb table thead th{
   		border:1px solid #dbdbdb;
   			text-align:center;
   			width:100px;
   			font-size:12px;
   			color:#95B8E7;
   			height:25px;
   		}
   		#tb table td{
   			border:1px solid #dbdbdb;
   			text-align:center;
   			width:100px;
   			font-size:12px;
   			
   		}
   		a{
   		text-decoration:none;
   		color:#fff;
   		
   		}
   		.combo{
   		border-radius:3px;
   		}
   		#tt .tabs li:first-child a{
   			padding-left:30px;
   			padding-right:30px;
   		}
   		.pew{
   			color:#ff0101;
   			font-size:14px;
   		}
   		.autoBoxTwo{
			width:180px;
			height:26px;
			margin:15px auto; 
		}
		</style>
		<script type="text/javascript">
		//初始化数据格式
		// var dataGridData = {total:0, rows:[]};
		function fillDataGrid(){
			$.ajax({
				type:"get",
				url:"${ctx}/log/contract?order=${param.conNo}&temp="+Math.random(),
				dataType:'json',
				async:false,
				success:function(data){
					dataGridData.total = data.length;
					dataGridData.rows = data;
				}
			});
		}
		$(function(){
			//fillDataGrid();
			//加载表格信息
			dataGrid = $('#ticketTable').datagrid({
				//data:dataGridData,
				url:'${ctx}/log/contract?orderNo=${param.conNo}&temp='+Math.random(),
				striped : true,
				singleSelect : true,
				idField : 'id',
				pageList : [5,10,20,40,60],
				method : 'get',
				rownumbers:true,
				pagination:true,
				columns:[[
				          {
								width : '80',
								title : 'id',
								field : 'id',
								hidden : true,
							},{
					width : '70',
					title : '操作人',
					align : 'center',
					field : 'operateName'
				},{
					width : '70',
					title : '角色',
					align : 'center',
					field : 'operateRole'
				},{
					width : '150',
					title : '操作时间',
					align : 'center',
					field : 'operateTime'
				},{
					width : '70',
					title : '操作',
					align : 'center',
					field : 'operateState'
				},{
					width : '250',
					title : '备注',
					align : 'center',
					field : 'remarks'
				}
				] ]
			});
			
			
	
	}); 
		</script>
	</head>
	<body style="padding-left:10px;" >
<div class="easyui-layout" data-options="fit:true,border:false" >
  
    <div data-options="region:'center',border:false">
	   
	    <table id="ticketTable" data-options="fit:true,border:false"></table>
	
    </div>
</div>
		
<script type="text/javascript" src="${ctx }/jslib/airport/fixdiv.js"></script>
<script type="text/javascript" src="${ctx }/jslib/airport/address.js"></script>
</body>
</html>